package com.itita.ww2.model.item;

import com.itita.ww2.model.item.enums.ItemElementType;

public class ItemElement extends AbstractItem {
	private ItemElementType elementType;

	public ItemElement(String itemId, int param1, int param2, boolean useable, int effParam, boolean compositable) {
		super(itemId, param1, param2, useable, effParam);
		this.elementType = ItemElementType.idValueOf(itemId);
		this.compositable = compositable;
	}

	public ItemElementType getElementType() {
		return elementType;
	}

	@Override
	public boolean canStack() {
		return true;
	}

}
